package com.fs.sale.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fs.common.core.pojo.Product;
import com.fs.sale.vo.ProductVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    List<ProductVo> queryAll();
    List<ProductVo> query(@Param("page") Page<ProductVo> page , @Param("productVo") ProductVo productVo);
    List<String> queryBrand();
    List<String> queryProductName(@Param("brand") String brand);
}
